package com.doradance.view.status;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.doradance.R;


/**
 * Description:
 * Author:yong
 * Date:2017-12-21
 */

public class NetworkFailurePageView implements StatusView {

    @Override
    public final View onCreateStatusView(LayoutInflater inflater, ViewGroup parent) {
        return inflater.inflate(R.layout.layout_status_network_failure_default, parent, false);
    }

    @Override
    public final int getStatus() {
        return ViewConstant.VIEW_STATUS_NETWORK_FAILURE;
    }

    @Override
    public void onStatusViewCreated() {

    }

    @Override
    public final void onViewAttachedToWindow() {

    }

    @Override
    public final void onViewDetachedFromWindow() {

    }
}
